package com.twu.biblioteca;

/**
 * Created by ggoulart on 9/17/14.
 */
public class Book {

    private String bookName;
    private String writer;
    private int year;

    public Book(String bookName, String writer, int year) {
        this.bookName = bookName;
        this.writer = writer;
        this.year = year;
    }

    public String getName() {
        return bookName;
    }

    public String getWriter() {
        return writer;
    }

    public int getYear() {
        return year;
    }

    public String bookDetails() {
        return "Name: " + bookName + " Writer: " + writer + " Year: " + year;
    }
}
